// pages/index1/index1.js
Page({
topageone:function(){
    wx.navigateTo({
      url: '/pages/index/index.js',
    })
},
topagetwo:function(){
    wx.redirectTo({
      url: '/pages/life/life.js',
    })
},
totabpage:function(){
    wx.switchTab({
      url: '/pages/logs/logs.js',
    })
}
})